<?php /*a:2:{s:81:"/www/wwwroot/zongchuang/public/themes/admin_simpleboot3/admin/order/editalls.html";i:1700975266;s:74:"/www/wwwroot/zongchuang/public/themes/admin_simpleboot3/public/header.html";i:1700297141;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <!-- Set render engine for 360 browser -->
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- HTML5 shim for IE8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <![endif]-->


    <link href="/themes/admin_simpleboot3/public/assets/themes/<?php echo cmf_get_admin_style(); ?>/bootstrap.min.css" rel="stylesheet">
    <link href="/themes/admin_simpleboot3/public/assets/simpleboot3/css/simplebootadmin.css" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <style>
        form .input-order {
            margin-bottom: 0px;
            padding: 0 2px;
            width: 42px;
            font-size: 12px;
        }

        form .input-order:focus {
            outline: none;
        }

        .table-actions {
            margin-top: 5px;
            margin-bottom: 5px;
            padding: 0px;
        }

        .table-list {
            margin-bottom: 0px;
        }

        .form-required {
            color: red;
        }
    </style>
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            APP: '<?php echo app('request')->module(); ?>'/*当前应用名*/
        };
    </script>
    <script src="/themes/admin_simpleboot3/public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/layui/layui.js"></script>
    <link  href="/themes/admin_simpleboot3/public/assets/layui/css/layui.css" rel="stylesheet">


    <script src="/static/js/wind.js"></script>
    <script src="/themes/admin_simpleboot3/public/assets/js/bootstrap.min.js"></script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip({
                container:'body',
                html:true,
            });
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>
    <?php if(APP_DEBUG): ?>
        <style>
            #think_page_trace_open {
                z-index: 9999;
            }
        </style>
    <?php endif; ?>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>

</head>
<body>
<div class="wrap js-check-wrap">


    <form action="<?php echo url('order/addPostalls'); ?>" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">

              <input class="form-control" type="hidden" name="id" value="<?php echo $info['id']; ?>" />
                    <tr>
                        <th class="col-md-1">收件人<span class="form-required">*</span></th>
                        <td>
                            <input class="form-control" type="text" name="name" value="<?php echo $info['name']; ?>" required placeholder="请输入"/>
                        </td>
                    </tr>

                    <tr>
                        <th class="col-md-1">快递单号<span class="form-required">*</span></th>
                        <td>
                            <input class="form-control" type="text" name="kdnum" value="<?php echo $info['kdnum']; ?>" required placeholder="请输入"/>
                        </td>
                    </tr>
                    
                    
                     <tr>
                        <th class="col-md-1">地址<span class="form-required">*</span></th>
                        <td>
                                  <input type="text" class="form-control" name="address" value="<?php echo $info['address']; ?>" autocomplete="off">
                        </td>
                    </tr>

                         <tr>
                        <th class="col-md-1">状态<span class="form-required">*</span></th>
                        <td>
                                  <select class="form-control" name="status"   id="input-site_admin_theme">

                                    <option value="0" <?php if($info['status'] != 1): ?> selected <?php endif; ?>>未入库</option>
                               
                                    <option value="1" <?php if($info['status'] == 1): ?>selected <?php endif; ?>>已入库</option>
                            </select>
                        </td>
                    </tr>

                    </tr>

                    <tr>
                        <th class="col-md-1">支付<span class="form-required">*</span></th>
                        <td>
                            <select class="form-control" name="zf"   id="">

                                <option value="0" <?php if($info['zf'] != 1): ?> selected <?php endif; ?>> 自付 </option>

                                <option value="1" <?php if($info['zf'] == 1): ?>selected <?php endif; ?>>代付</option>
                            </select>
                        </td>
                    </tr>

                     <tr>
                        <th class="col-md-1">出库时间<span class="form-required">*</span></th>
                        <td>
                                  <input type="text" class="form-control js-bootstrap-datetime" name="chukutime" value="<?php echo $info['chukutime']; ?>" autocomplete="off">
                        </td>
                    </tr>
                    
                    <tr>
                        <th class="col-md-1">出库地址<span class="form-required">*</span></th>
                        <td>
                                  <input type="text" class="form-control " name="chuadd" value="<?php echo $info['chuadd']; ?>" autocomplete="off">
                        </td>
                    </tr>
                    
                        <tr>
                        <th class="col-md-1">出库单号<span class="form-required">*</span></th>
                        <td>
                        <input type="text" class="form-control " name="chuorder" value="<?php echo $info['chuorder']; ?>" autocomplete="off">
                        </td>
                    </tr>


                </table>

                <?php 
    \think\facade\Hook::listen('portal_admin_article_edit_view_main',null,false);
 ?>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">修 改</button>
   
                    </div>
                </div>
            </div>

        </div>
    </form>
</div>
<script type="text/javascript" src="/static/js/admin.js"></script>
<script type="text/javascript">
    //编辑器路径定义
    var editorURL = GV.WEB_ROOT;
</script>
<script type="text/javascript" src="/static/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="/static/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
    $(function () {

        editorcontent = new baidu.editor.ui.Editor();
        editorcontent.render('content');
        try {
            editorcontent.sync();
        } catch (err) {
        }

        $('.btn-cancel-thumbnail').click(function () {
            $('#thumbnail-preview').attr('src', '/themes/admin_simpleboot3/public/assets/images/default-thumbnail.png');
            $('#thumbnail').val('');
        });

    });


</script>
</body>
</html>
